<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    #include("common/header.html")
</head>

<body>
<div style="margin: 15px;">
    <div class="layui-form" id="form">
        <div class="layui-form-item">
            <label class="layui-form-label">头像</label>
            <div class="layui-input-block">
                #if($info.imgUrl)
                <img src="$!info.headUrl" height="120px" width="120px">
                #else
                <img src="/images/timg.jpg" height="120px" width="120px">
                #end
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">昵称</label>
            <div class="layui-input-block">
                <div class="layui-form-mid layui-word-aux">$!info.nickname</div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">电话</label>
            <div class="layui-input-block">
                <div class="layui-form-mid layui-word-aux">$!info.tel</div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">姓名</label>
            <div class="layui-input-block">
                <div class="layui-form-mid layui-word-aux">$!info.name</div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">性别</label>
            <div class="layui-input-block">
                <div class="layui-form-mid layui-word-aux">$!info.sex</div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">身份证</label>
            <div class="layui-input-block">
                <div class="layui-form-mid layui-word-aux">$!info.idcard</div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">生日</label>
            <div class="layui-input-block">
                <div class="layui-form-mid layui-word-aux">$!date.format('yyyy-MM-dd',$!info.birthday)</div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">QQ</label>
            <div class="layui-input-block">
                <div class="layui-form-mid layui-word-aux">$!info.qq</div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">微信</label>
            <div class="layui-input-block">
                <div class="layui-form-mid layui-word-aux">$!info.wechat</div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">爱好</label>
            <div class="layui-input-block">
                <div class="layui-form-mid layui-word-aux">$!info.hobby</div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">学习币</label>
            <div class="layui-input-block">
                <div class="layui-form-mid layui-word-aux">$!info.money</div>
            </div>
        </div>
    </div>
</div>
<script>

    var layer;
    var form;
    layui.use(['layer','form', 'upload'], function () {
        layer = layui.layer;
        form = layui.form()
    });

</script>
</body>

</html>